<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>如何使用 | 博客系统文档</title>
    <meta name="description" content="黑龙江科技大学计算机系">
    
    
    <link rel="preload" href="/assets/css/0.styles.3486ac9a.css" as="style"><link rel="preload" href="/assets/js/app.8bfad8b3.js" as="script"><link rel="preload" href="/assets/js/8.a687a2cd.js" as="script"><link rel="prefetch" href="/assets/js/10.a876fc82.js"><link rel="prefetch" href="/assets/js/2.a4fcc584.js"><link rel="prefetch" href="/assets/js/3.aa7bd5d5.js"><link rel="prefetch" href="/assets/js/4.8716395f.js"><link rel="prefetch" href="/assets/js/5.232512e7.js"><link rel="prefetch" href="/assets/js/6.3a2a97b2.js"><link rel="prefetch" href="/assets/js/7.0ff022c0.js"><link rel="prefetch" href="/assets/js/9.fbf25754.js">
    <link rel="stylesheet" href="/assets/css/0.styles.3486ac9a.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">博客系统文档</span></a> <div class="links" style="max-width:nullpx;"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="/" class="nav-link">首页</a></div><div class="nav-item"><a href="https://github.com/huoher" target="_blank" rel="noopener noreferrer" class="nav-link external">
  Github
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="http://usth.edu.cn/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  关于学校
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <div class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="/" class="nav-link">首页</a></div><div class="nav-item"><a href="https://github.com/huoher" target="_blank" rel="noopener noreferrer" class="nav-link external">
  Github
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div><div class="nav-item"><a href="http://usth.edu.cn/" target="_blank" rel="noopener noreferrer" class="nav-link external">
  关于学校
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav>  <ul class="sidebar-links"><li><div class="sidebar-group first"><p class="sidebar-heading open"><span>介绍</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/guide.html" class="active sidebar-link">如何使用</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/guide.html#声明" class="sidebar-link">声明</a></li><li class="sidebar-sub-header"><a href="/guide.html#ip地址" class="sidebar-link">IP地址</a></li><li class="sidebar-sub-header"><a href="/guide.html#token" class="sidebar-link">token</a></li><li class="sidebar-sub-header"><a href="/guide.html#url" class="sidebar-link">URL</a></li></ul></li></ul></div></li><li><div class="sidebar-group"><p class="sidebar-heading"><span>API列表</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/user.html" class="sidebar-link">用户</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/user.html#登录" class="sidebar-link">登录</a></li><li class="sidebar-sub-header"><a href="/user.html#根据用户名查找用户" class="sidebar-link">根据用户名查找用户</a></li><li class="sidebar-sub-header"><a href="/user.html#注册" class="sidebar-link">注册</a></li><li class="sidebar-sub-header"><a href="/user.html#获取全部用户列表" class="sidebar-link">获取全部用户列表</a></li><li class="sidebar-sub-header"><a href="/user.html#获取已登陆的用户信息" class="sidebar-link">获取已登陆的用户信息</a></li><li class="sidebar-sub-header"><a href="/user.html#更新我的用户信息" class="sidebar-link">更新我的用户信息</a></li></ul></li><li><a href="/article.html" class="sidebar-link">文章</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/article.html#获取全部文章" class="sidebar-link">获取全部文章</a></li><li class="sidebar-sub-header"><a href="/article.html#添加文章" class="sidebar-link">添加文章</a></li><li class="sidebar-sub-header"><a href="/article.html#删除文章" class="sidebar-link">删除文章</a></li><li class="sidebar-sub-header"><a href="/article.html#查询我写的文章" class="sidebar-link">查询我写的文章</a></li><li class="sidebar-sub-header"><a href="/article.html#查询某个类型的文章" class="sidebar-link">查询某个类型的文章</a></li></ul></li><li><a href="/comment.html" class="sidebar-link">评论</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/comment.html#待定" class="sidebar-link">待定</a></li></ul></li></ul></div></li><li><div class="sidebar-group"><p class="sidebar-heading"><span>关于</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/about.html" class="sidebar-link">关于我们</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/about.html#团队成员" class="sidebar-link">团队成员</a></li><li class="sidebar-sub-header"><a href="/about.html#关于班级" class="sidebar-link">关于班级</a></li><li class="sidebar-sub-header"><a href="/about.html#关于学校" class="sidebar-link">关于学校</a></li></ul></li></ul></div></li></ul> </div> <div class="page"> <div class="content"><h1 id="如何使用"><a href="#如何使用" aria-hidden="true" class="header-anchor">#</a> 如何使用</h1> <blockquote><p>初次撰写，如有疏忽，还望见谅</p></blockquote> <p>最后更新时间： 2019-04-22 14：05</p> <h2 id="声明"><a href="#声明" aria-hidden="true" class="header-anchor">#</a> 声明</h2> <p>应前端要求，文档删除大量无用内容</p> <blockquote><p>下面说明几点</p></blockquote> <p><a href="https://mit-license.org/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/license-MIT-green.svg" alt><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> <a href><img src="https://img.shields.io/badge/version-v1.0-yellow.svg" alt></a> <a href><img src="https://img.shields.io/badge/Spring%20boot-2.1.3-orange.svg" alt></a> <a href="https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/Java-11-blue.svg" alt><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> <a href="http://maven.apache.org/" target="_blank" rel="noopener noreferrer"><img src="https://img.shields.io/badge/Maven-3.4-red.svg" alt><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <h2 id="ip地址"><a href="#ip地址" aria-hidden="true" class="header-anchor">#</a> IP地址</h2> <p>地址为</p> <div class="language- extra-class"><pre class="language-text"><code>http://106.14.213.34/详细地址
</code></pre></div><p>下面的文档只说<strong>详细的地址</strong>，前面的IP不打出来了</p> <p><strong>IP 地址后期可能更换，请务必保留相关常量</strong></p> <h2 id="token"><a href="#token" aria-hidden="true" class="header-anchor">#</a> token</h2> <p>登录之后，把<code>Token</code>存储在浏览器里</p> <p>用户登录后，把获取的token字符串放在header里</p> <p><strong>键值对为</strong></p> <p>举个例子，以实际的token为准：</p> <table><thead><tr><th>键</th> <th>值</th></tr></thead> <tbody><tr><td>Authorization</td> <td>eyJ0eXAiOiJhbGciOiJIUzI1NiJ</td></tr></tbody></table> <p>只要是用户登录了，就在<code>header</code>里带上这个键值对，证明你是谁。</p> <h2 id="url"><a href="#url" aria-hidden="true" class="header-anchor">#</a> URL</h2> <p>虽然域名和IP不分大小写，但是URL不一样，避免意外的麻烦，所以这里<strong>全部用小写</strong></p> <p><a href="https://www.kancloud.cn/yunye/axios/234845" target="_blank" rel="noopener noreferrer">Axios文档<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><a href="https://cn.vuejs.org/index.html" target="_blank" rel="noopener noreferrer">Vue.js文档<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p></div> <div class="page-edit"><!----> <!----></div> <div class="page-nav"><p class="inner"><!----> <span class="next"><a href="/user.html">
          用户
        </a>
        →
      </span></p></div> </div> <!----></div></div>
    <script src="/assets/js/app.8bfad8b3.js" defer></script><script src="/assets/js/8.a687a2cd.js" defer></script>
  </body>
</html>
